// index.js
import foo from './foo.js'
foo('index.js')